﻿using System;
using System.IO;

namespace DesignPattern.com.strategy.demo {
    public class RadiantStrategy : IStrategy {
        public override void Algorithm(){
            Console.WriteLine("RadiantStrategy");
        }

        public override void InitAttr(ICharacterAttr attr){
            if (!(attr is RadiantAttr)){ }
        }

        public override float AtkPlusValue(ICharacterAttr attr){
            return 0;
        }

        public override float DmageDesc(ICharacterAttr attr){
            return 0.1f;
        }
    }
}